<%@ Control Language="C#" Inherits="Yuanlin.Business.EditAvatar, Yuanlin.Business" AutoEventWireup="true" %>

<div id="EditAvatar" class="AdminArea">
    <fieldset>
        <legend><nwap:ResourceLiteral runat="server" ResourceName="EditAvatar_Title" ResourceFile="ControlPanelResources.xml" /></legend>
	    
	    <table width="100%" height="240px" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	            <td width="30%" class="avatorRowLeft" align="center" valign="top">
	                <nwap:UserAvatar Width="180" Height="180" runat="server" />
	            </td>
	            <td width="70%" class="avatorRowRight" valign="top">
		            <asp:FileUpload onchange="CheckImage(this)" runat="server" CssClass="InputField MiddleAttachmentDataWidth" id="avatarUpload" />
		            <div class="EditAvatar_SaveButtonRow">
		                <nwap:Resourcebutton id="deleteButton" ResourceName="DeleteAvatar" ResourceFile="ControlPanelResources.xml" CssClass="Button" Runat="server"></nwap:Resourcebutton>&nbsp;&nbsp;&nbsp;&nbsp;
		                <nwap:Resourcebutton id="saveButton" ResourceName="SaveAvatar" ResourceFile="ControlPanelResources.xml" CssClass="Button" Runat="server"></nwap:Resourcebutton>	            
		            </div>
	            </td>
	        </tr>
	    </table>
    </fieldset>
</div>